projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c67b2af
)
ARM: UniPhier: display boot swap pin status by pinmon command
author
Masahiro Yamada
<
[email protected]
>
Fri, 19 Dec 2014 11:20:54 +0000
(20:20 +0900)
committer
Masahiro Yamada
<
[email protected]
>
Tue, 30 Dec 2014 08:45:40 +0000
(17:45 +0900)
This information would be useful enough.
Signed-off-by: Masahiro Yamada <
[email protected]
>
arch/arm/cpu/armv7/uniphier/cmd_pinmon.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/uniphier/cmd_pinmon.c
b/arch/arm/cpu/armv7/uniphier/cmd_pinmon.c
index eef9f3984079db9a4b4abf7f9433d71d37b78166..3561b40a33196deed9568fcf5fd57ddc1675c07b 100644
(file)
--- a/
arch/arm/cpu/armv7/uniphier/cmd_pinmon.c
+++ b/
arch/arm/cpu/armv7/uniphier/cmd_pinmon.c
@@
-7,6
+7,7
@@
#include <common.h>
#include <asm/arch/boot-device.h>
+#include <asm/arch/sbc-regs.h>
static int do_pinmon(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
@@
-15,6
+16,8
@@
static int do_pinmon(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
mode_sel = get_boot_mode_sel();
+ printf("Boot Swap: %s\n\n", boot_is_swapped() ? "ON" : "OFF");
+
puts("Boot Mode Pin:\n");
for (table = boot_device_table; strlen(table->info); table++) {